/**
 * @(#) FamilyVO.as
 *
 * @date		2010. 11. 01
 * @version		2.0
 * @author		Shin, Yunwoo
 * @client		Service Ace 
 * @module		CongMoney  (경조금)
 * @description	가족사항 - Value Object
 * 				
 */
package com.skt.common_hr.schoolexp.model.vo
{
	import mx.formatters.PhoneFormatter;
	
	[Bindable]
	public class FamilyVO
	{
		public var KDSVH:String;		//자녀와의 관계
		public var FAMILY:String;		//가족코드
		public var ZTEXT:String;		//경조 가족관계 텍스트
		public var FNAME:String;		//사원 또는 지원자의 포맷된 이름
		public var REGNO:String;		//주민등록번호 (한국)
		
		public function get regno():String
		{
			var pidNum:PhoneFormatter = new PhoneFormatter;
			pidNum.formatString = "######-#######";
			return pidNum.format(REGNO);
		}

		public function getPid(pid:String):String
		{
			var pidNum:PhoneFormatter = new PhoneFormatter;
			pidNum.formatString = "######-#######";
			return pidNum.format(pid);
		}
	}
}